package com.stu.dao;

import com.stu.model.User;

import java.sql.SQLException;
import java.util.List;

public interface ManageDao {
    List<User> getAllUser() throws SQLException;
    List<User> getSearch(String searchText) throws SQLException;
    public int isExistPersonAccount(String userAccount) throws SQLException;
    public void addUser(User user) throws SQLException;
    public void sureUpPassword(String userAccount,String userPassword) throws SQLException;
    public void delThisPerson(String delAccount,String userIdentify) throws SQLException;
}
